home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / share / doc / p3nfs / bluetooth.macosx < prev    next >
Text File  |  2005-10-18  |  2KB  |  45 lines

  1. To connect your Mac to nfsapp through Bluetooth, you have first to
  2. create an outgoing Bluetooth serial port. To do this, use the
  3. "Bluetooth Serial Utility" found in Applications/Utilities. The port must
  4. be outgoing, and must be connected to the Serial Port service exported by
  5. your phone.
  6.  
  7. Now, the problem is that the serial port just created will have its channel set
  8. to 1 (or some other value depending on the phone), and not the channel number
  9. used by nfsapp (which is 13 by default). This is because nfsapp does not
  10. advertise its channel number through the Bluetooth Service Discovery Protocol.
  11. So you have to force by hand the computer to use the right channel.
  12.  
  13. To do this, you have to edit the file:
  14.    /var/root/Library/Preferences/blued.plist
  15. that you can access only as the root user. I suggest you to make a backup copy
  16. before actually changing the file. This file is a plain XML file containing
  17. the parameters used by the Bluetooth daemon 'blued' for configuring the
  18. communication channels.
  19.  
  20. Within the file, you have first to locate a node containing:
  21.              <key>outgoing port - YOUR-PORT-NAME-HERE</key>
  22. (of course, you will find the name you gave to the port instead of 
  23. "YOUR-PORT-NAME-HERE"). Then, under that node you have to look for 
  24. a couple of lines saying:
  25.                      <key>BTRFCOMMChannel</key>
  26.                      <integer>1</integer>
  27. The actual number between <integer> and </integer> can be different, depending
  28. on the phone. Now you have to change this value to the channel number used
  29. by nfsapp (you can read it on the phone when you launch nfsapp). So the
  30. lines should read (assuming that the nfsapp channel has the default value of
  31. 13):
  32.                      <key>BTRFCOMMChannel</key>
  33.                      <integer>13</integer>
  34.  
  35. Be careful to not alter the BTRFCOMMChannel of other services listed in
  36. blued.plist!
  37.  
  38. Now, you have to save the file and restart your system. Having done that,
  39. you can follow the directions for starting p3nfsd, using as TTY the device:
  40.         /dev/cu.YOUR-PORT-NAME-HERE
  41.  
  42. For example, I use the following command line for my Sony Ericsson P910i:
  43.             p3nfsd -UIQ -tty /dev/cu.P910i -dir /mnt/P910i
  44.  
  45.